Version

Warp(PointF[],RectangleF,Matrix,WarpMode) Method

Applies a warp transform, defined by a rectangle and a parallelogram, to this CarouselPath.
Syntax
'Declaration
 
Public Overloads Sub Warp( _
   ByVal destPoints() As PointF, _
   ByVal srcRect As RectangleF, _
   ByVal matrix As Matrix, _
   ByVal warpMode As WarpMode _
) 
public void Warp( 
   PointF[] destPoints,
   RectangleF srcRect,
   Matrix matrix,
   WarpMode warpMode
)

Parameters

destPoints
An array of System.Drawing.PointF structures that defines a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.
srcRect
A System.Drawing.RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.
matrix
A System.Drawing.Drawing2D.Matrix that specifies a geometric transform to apply to the path.
warpMode
A System.Drawing.Drawing2D.WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also